<fieldset id="{{$id}}" class="">
    @component('backend::component.form.form-group')
        @slot('title') 商品分类 @endslot
        <div class="layui-input-block">
            <input type="text" id="action_parent" data-parents='{{$category}}'  class="form-control" readonly="readonly" value="">
            <input type="hidden" id="parent-value" name="category_ids"  value="">
        </div>
    @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 商品品牌 @endslot
        @component('backend::component.form.select',['options'=>$brands])
            @slot('name') brand_id @endslot
        @endcomponent
    @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 商品名称 @endslot
        @component('backend::component.form.input')
            @slot('name') goods_name @endslot
        @endcomponent
    @endcomponent
    @component('backend::component.form.form-group')
        @slot('title') 副标题 @endslot
        @component('backend::component.form.input')
            @slot('name') title @endslot
        @endcomponent
    @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 商品关键词 @endslot
        @component('backend::component.form.textarea')
            @slot('name') keywords @endslot
            @slot('row') 2 @endslot
        @endcomponent
        @slot('remark') 商品关键词请用逗号分隔；有两个功能，一是可以作为站内关键词查询，在前台搜索框输入关键词后，能够搜索到该商品；二是作为搜索引擎收录使用. @endslot
    @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 商品介绍 @endslot
        @component('backend::component.form.textarea')
            @slot('name') description @endslot
            @slot('row') 2 @endslot
        @endcomponent
    @endcomponent

    @component('backend::component.form.form-group')
        @slot('title') 商品备注 @endslot
        @component('backend::component.form.textarea')
            @slot('name') remarks @endslot
            @slot('row') 2 @endslot
        @endcomponent
    @endcomponent

</fieldset>